package edu.cs.usask.ca.silver.plugin.rcp.handlers.test;

import org.apache.log4j.Logger;
import org.eclipse.core.commands.AbstractHandler;
import org.eclipse.core.commands.ExecutionEvent;
import org.eclipse.core.commands.ExecutionException;
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.core.runtime.IStatus;
import org.eclipse.core.runtime.Status;
import org.eclipse.core.runtime.jobs.Job;

import edu.cs.usask.ca.silver.plugin.rcp.jobs.LoggerReportScheduler;

public class testLoggerHandler extends AbstractHandler {
	private static Logger logger = Logger.getLogger(Logger.class);



	@Override
	public Object execute(ExecutionEvent event) throws ExecutionException {
		LoggerReportScheduler.scheduleErrorLogging(logger,"testError");
		
		return null;
	}


}
